package com.pcbly.web.bean.dict;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class DictCategoryDependBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4257124249877641182L;
	
	private String childId;
	private String masterId;

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public void setChildId(String childId) {
		this.childId = childId;
	}

	public String getChildId() {
		return childId;
	}

	public void setMasterId(String masterId) {
		this.masterId = masterId;
	}

	public String getMasterId() {
		return masterId;
	}
}
